package org.springblade.modules.admin.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springblade.modules.admin.entity.MaintainByScoreQuestion;
import org.springblade.modules.admin.entity.MaintainPlanContentExt;
import org.springblade.modules.admin.vo.plan.PlanMaintainUserVO;

import java.util.List;

/**
 * @author zcc
 * @version 1.0
 * @date 2021/8/10 16:18
 */
@ApiModel("维保/维修详情")
@Data
public class MaintainPlanContentWorkDetailVo {

	@ApiModelProperty("任务基础信息")
	private PlanContentWorkDetailCommonVo planContentWorkDetailCommonVo;

	@ApiModelProperty("维保人员信息")
	private List<PlanMaintainUserVO> maintainUserList;

	@ApiModelProperty("任务追踪记录")
	private WorkTrackVO workTrack;

	@ApiModelProperty("逾期天数")
	private Integer overdueDays = 0;

	@ApiModelProperty(value = "工作时长单位分钟")
	private Integer workMinute;

	@ApiModelProperty(value = "0")
	private Integer workDays;

	private Integer auditType;

	private MaintainPlanContentExt maintainPlanContentExt;

	/**
	 * 2024-04-23 新增 维修工单详情新字段
	 * 工单详情 vo
	 */
	@ApiModelProperty(value = "工单明细")
	private RepairPlanDetailVO planDetailVO;

	@ApiModelProperty(value = "关联工单idList")
	private List<Long> relatedWorkOrderIds;

	@ApiModelProperty(value = "是否允许修改类型及来源")
	private Boolean isAllowModify;
}
